package com.bdqn.shiro.mapper;


import com.bdqn.shiro.config.mybatis.IMapper;
import com.bdqn.shiro.pojo.Role;

import java.util.List;

/**
 * @Entity com.bdqn.pojo.Role
 */
public interface RoleMapper extends IMapper<Role> {
    /**
     * 修改以及新增
     * @param role
     * @param rightCodes
     * @return
     */
    boolean saveRoleAndRight(Role role, String[] rightCodes);

}




